/**
 * @Project TMHSC
 * @Author Tran Manh Hung
 * @Email: hungtmit@gmail.com | tmh@xwebgate.com
 * @Copyright © 2011 TMH. All rights reserved
 * @Createdate Feb 25, 2011
 * @Createtime 6:00:54 PM
 */

package com.tmh.study.aS3DP.mcv.minimalist
{
	import flash.events.Event;

	public class AsciiCharLeafView extends ComponentView
	{
		public function AsciiCharLeafView(model:IModel, controller:Object = null)
		{
			super(model, controller);
		}

		override public function update(event:Event = null):void
		{
			// get data from model and update view
			trace(String.fromCharCode((_model as IModel).getKey()));
		}
	}
}